home *** CD-ROM | disk | FTP | other *** search
/ Popular Request / By Popular Request (Arsenal Computer)(SysOptics Distribution System).ISO / start.bat < prev    next >
DOS Batch File  |  1994-05-16  |  11KB  |  182 lines

  1. @echo off
  2. IF "%1"=="" GOTO GETDRIVE
  3. IF "%2"=="" GOTO GETDRIVE
  4. GOTO GETSTART
  5. :GETDRIVE
  6. CLS
  7. ECHO.
  8. ECHO █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█
  9. ECHO █                Arsenal Computer - Popular Request                  █
  10. ECHO █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
  11. ECHO ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  12. ECHO █                                                                    █
  13. ECHO █      Please Specify Where your Hard Drive to Install to is,        █
  14. ECHO █      and what drive letter your CD-ROM Player is located at.       █
  15. ECHO █                                                                    █
  16. ECHO █      Please use the Following Format:                              █
  17. ECHO █                                                                    █
  18. ECHO █      INSTALL C D                                                   █
  19. ECHO █                                                                    █
  20. ECHO █      If you want to install to your C: Drive, and your CD-ROM      █
  21. ECHO █      player being your D: Drive.  Please do NOT put in any         █
  22. ECHO █      colons after the drive letters.                               █
  23. ECHO █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
  24. ECHO.
  25. ECHO.
  26. GOTO END
  27. :GETSTART
  28. CLS
  29. ECHO █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█
  30. ECHO █  You Have indicated that your installation hard drive is %1:\;   █
  31. echo █  and that your CD-ROM Player is Located at %2:\;                 █
  32. echo █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
  33. echo.
  34. echo.
  35. GETKEY Is this Correct?  Y@N
  36.  
  37. IF ERRORLEVEL = 2 GOTO END
  38. IF ERRORLEVEL = 1 GOTO DO_IT
  39. IF ERRORLEVEL = 0 GOTO END
  40.  
  41. :DO_IT
  42. CLS
  43. ECHO.
  44. ECHO.
  45. ECHO █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█
  46. ECHO █  We are now going to create a batchfile that will allow you to  █
  47. ECHO █  access the Popular Request CD-ROM disc easily.                 █
  48. ECHO █                                                                 █
  49. ECHO █  This Batchfile will be installed to the Root Directory of the  █
  50. ECHO █  %1: Drive.  If you do NOT wish this to occur, please indicate   █
  51. ECHO █  so now.  This Batchfile will take up less than 1k of your hard █
  52. ECHO █  drive space, so it will not significantly impact your hard     █
  53. ECHO █  drive storage.                                                 █
  54. ECHO █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
  55. ECHO.
  56. ECHO.
  57. GETKEY Do You Wish to Create this Batchfile? Y@N
  58.        IF ERRORLEVEL = 2 GOTO END
  59.        IF ERRORLEVEL = 1 GOTO MAKEBAT
  60.        IF ERRORLEVEL = 0 GOTO END
  61.  
  62. :MAKEBAT
  63.  
  64. IF EXIST %1:\REDROM.BAT DEL %1:\REDROM.BAT
  65. %1:
  66. MD %1:\REDROM
  67. MD %1:\ROMDROP
  68. CD %1:\REDROM
  69. COPY %2:\EZROM\*.* %1:\REDROM\*.*
  70. IF EXIST %1:\REDROM\EZROM.CFG DEL %1:\REDROM\EZROM.CFG
  71. ECHO DiskName Popular Request                          >> %1:\REDROM\EZROM.CFG
  72. ECHO HoldDir  %1:\ROMDROP                              >> %1:\REDROM\EZROM.CFG
  73. ECHO CopyToMag ON                                      >> %1:\REDROM\EZROM.CFG
  74. ECHO Log OFF                                           >> %1:\REDROM\EZROM.CFG
  75. ECHO Style 1                                           >> %1:\REDROM\EZROM.CFG
  76. ECHO Share ON                                          >> %1:\REDROM\EZROM.CFG
  77. ECHO Debug OFF                                         >> %1:\REDROM\EZROM.CFG
  78. ECHO AllowLogOff ON                                    >> %1:\REDROM\EZROM.CFG
  79. ECHO CheckSize ON                                      >> %1:\REDROM\EZROM.CFG
  80. ECHO LinesPerPage 22                                   >> %1:\REDROM\EZROM.CFG
  81. ECHO TagChar 26 -                                      >> %1:\REDROM\EZROM.CFG
  82. ECHO Zone 1    Color 15    First 1    Last 12          >> %1:\REDROM\EZROM.CFG
  83. ECHO Zone 2    Color 14    First 14   Last 22          >> %1:\REDROM\EZROM.CFG
  84. ECHO Zone 3    Color 10    First 23   Last 32          >> %1:\REDROM\EZROM.CFG
  85. ECHO Zone 4    Color 11    First 33   Last 78          >> %1:\REDROM\EZROM.CFG
  86. ECHO DirectVideo ON                                    >> %1:\REDROM\EZROM.CFG
  87. ECHO CheckSnow ON                                      >> %1:\REDROM\EZROM.CFG
  88. ECHO BiosScroll ON                                     >> %1:\REDROM\EZROM.CFG
  89. ECHO Areas                                             >> %1:\REDROM\EZROM.CFG
  90. ECHO %2:\MUSTHAVE    %2:\FILELIST\PCBOARD\MUSTHAVE.DIR >> %1:\REDROM\EZROM.CFG
  91. ECHO %2:\CD_ROM      %2:\FILELIST\PCBOARD\CD_ROM.DIR   >> %1:\REDROM\EZROM.CFG
  92. ECHO %2:\SWIMSUIT    %2:\FILELIST\PCBOARD\SWIMSUIT.DIR >> %1:\REDROM\EZROM.CFG
  93. ECHO %2:\EMAGS       %2:\FILELIST\PCBOARD\EMAGS.DIR    >> %1:\REDROM\EZROM.CFG
  94. ECHO %2:\DOOM        %2:\FILELIST\PCBOARD\DOOM.DIR     >> %1:\REDROM\EZROM.CFG
  95. ECHO %2:\MISSCHIL    %2:\FILELIST\PCBOARD\MISSCHIL.DIR >> %1:\REDROM\EZROM.CFG
  96. ECHO %2:\MISC_1      %2:\FILELIST\PCBOARD\MISC_1.DIR   >> %1:\REDROM\EZROM.CFG
  97. ECHO %2:\MISC_2      %2:\FILELIST\PCBOARD\MISC_2.DIR   >> %1:\REDROM\EZROM.CFG
  98. ECHO %2:\UNPROT      %2:\FILELIST\PCBOARD\UNPROT.DIR   >> %1:\REDROM\EZROM.CFG
  99. ECHO %2:\BBSSTUFF    %2:\FILELIST\PCBOARD\BBSSTUFF.DIR >> %1:\REDROM\EZROM.CFG
  100. ECHO %2:\ANSI        %2:\FILELIST\PCBOARD\ANSI.DIR     >> %1:\REDROM\EZROM.CFG
  101. ECHO %2:\GENEALOG    %2:\FILELIST\PCBOARD\GENEALOG.DIR >> %1:\REDROM\EZROM.CFG
  102. ECHO %2:\C_AMERIC    %2:\FILELIST\PCBOARD\C_AMERIC.DIR >> %1:\REDROM\EZROM.CFG
  103. ECHO %2:\C_ANIMAL    %2:\FILELIST\PCBOARD\C_ANIMAL.DIR >> %1:\REDROM\EZROM.CFG
  104. ECHO %2:\C_COLOR     %2:\FILELIST\PCBOARD\C_COLOR.DIR  >> %1:\REDROM\EZROM.CFG
  105. ECHO %2:\C_HOLIDA    %2:\FILELIST\PCBOARD\C_HOLIDA.DIR >> %1:\REDROM\EZROM.CFG
  106. ECHO %2:\C_STRUCT    %2:\FILELIST\PCBOARD\C_STRUCT.DIR >> %1:\REDROM\EZROM.CFG
  107. ECHO %2:\C_CHILD     %2:\FILELIST\PCBOARD\C_CHILD.DIR  >> %1:\REDROM\EZROM.CFG
  108. ECHO %2:\C_SPORTS    %2:\FILELIST\PCBOARD\C_SPORTS.DIR >> %1:\REDROM\EZROM.CFG
  109. ECHO %2:\C_MILITA    %2:\FILELIST\PCBOARD\C_MILITA.DIR >> %1:\REDROM\EZROM.CFG
  110. ECHO %2:\C_ART       %2:\FILELIST\PCBOARD\C_ART.DIR    >> %1:\REDROM\EZROM.CFG
  111. ECHO %2:\C_BUSINE    %2:\FILELIST\PCBOARD\C_BUSINE.DIR >> %1:\REDROM\EZROM.CFG
  112. ECHO %2:\C_CIVIC     %2:\FILELIST\PCBOARD\C_CIVIC.DIR  >> %1:\REDROM\EZROM.CFG
  113. ECHO %2:\C_FOOD      %2:\FILELIST\PCBOARD\C_FOOD.DIR   >> %1:\REDROM\EZROM.CFG
  114. ECHO %2:\C_FLOWER    %2:\FILELIST\PCBOARD\C_FLOWER.DIR >> %1:\REDROM\EZROM.CFG
  115. ECHO %2:\C_PEOPLE    %2:\FILELIST\PCBOARD\C_PEOPLE.DIR >> %1:\REDROM\EZROM.CFG
  116. ECHO %2:\C_CARTOO    %2:\FILELIST\PCBOARD\C_CARTOO.DIR >> %1:\REDROM\EZROM.CFG
  117. ECHO %2:\C_PLACES    %2:\FILELIST\PCBOARD\C_PLACES.DIR >> %1:\REDROM\EZROM.CFG
  118. ECHO %2:\C_MISC      %2:\FILELIST\PCBOARD\C_MISC.DIR   >> %1:\REDROM\EZROM.CFG
  119. ECHO %2:\C_COMPUT    %2:\FILELIST\PCBOARD\C_COMPUT.DIR >> %1:\REDROM\EZROM.CFG
  120. ECHO %2:\C_HOUSE     %2:\FILELIST\PCBOARD\C_HOUSE.DIR  >> %1:\REDROM\EZROM.CFG
  121. ECHO %2:\C_TOOLS     %2:\FILELIST\PCBOARD\C_TOOLS.DIR  >> %1:\REDROM\EZROM.CFG
  122. ECHO %2:\C_SCIMED    %2:\FILELIST\PCBOARD\C_SCIMED.DIR >> %1:\REDROM\EZROM.CFG
  123. ECHO %2:\C_RELIGI    %2:\FILELIST\PCBOARD\C_RELIGI.DIR >> %1:\REDROM\EZROM.CFG
  124. ECHO %2:\C_VEHICL    %2:\FILELIST\PCBOARD\C_VEHICL.DIR >> %1:\REDROM\EZROM.CFG
  125. ECHO %2:\C_LETTER    %2:\FILELIST\PCBOARD\C_LETTER.DIR >> %1:\REDROM\EZROM.CFG
  126. ECHO %2:\C_EDUCAT    %2:\FILELIST\PCBOARD\C_EDUCAT.DIR >> %1:\REDROM\EZROM.CFG
  127. ECHO %2:\C_INSECT    %2:\FILELIST\PCBOARD\C_INSECT.DIR >> %1:\REDROM\EZROM.CFG
  128. ECHO %2:\C_WEDDIN    %2:\FILELIST\PCBOARD\C_WEDDIN.DIR >> %1:\REDROM\EZROM.CFG
  129. ECHO %2:\C_BIRDS     %2:\FILELIST\PCBOARD\C_BIRDS.DIR  >> %1:\REDROM\EZROM.CFG
  130. ECHO %2:\C_19THC     %2:\FILELIST\PCBOARD\C_19THC.DIR  >> %1:\REDROM\EZROM.CFG
  131. ECHO %2:\C_WORKER    %2:\FILELIST\PCBOARD\C_WORKER.DIR >> %1:\REDROM\EZROM.CFG
  132. ECHO %2:\C_MAPS      %2:\FILELIST\PCBOARD\C_MAPS.DIR   >> %1:\REDROM\EZROM.CFG
  133. ECHO %2:\C_REPTIL    %2:\FILELIST\PCBOARD\C_REPTIL.DIR >> %1:\REDROM\EZROM.CFG
  134. ECHO %2:\C_FISH      %2:\FILELIST\PCBOARD\C_FISH.DIR   >> %1:\REDROM\EZROM.CFG
  135. ECHO %2:\AMIGA1      %2:\FILELIST\PCBOARD\AMIGA1.DIR   >> %1:\REDROM\EZROM.CFG
  136. ECHO %2:\AMIGA2      %2:\FILELIST\PCBOARD\AMIGA2.DIR   >> %1:\REDROM\EZROM.CFG
  137. ECHO %2:\AMIGA3      %2:\FILELIST\PCBOARD\AMIGA3.DIR   >> %1:\REDROM\EZROM.CFG
  138. ECHO %2:\AMIGA4      %2:\FILELIST\PCBOARD\AMIGA4.DIR   >> %1:\REDROM\EZROM.CFG
  139. ECHO %2:\MAC         %2:\FILELIST\PCBOARD\MAC.DIR      >> %1:\REDROM\EZROM.CFG
  140. ECHO Areas                                             >> %1:\REDROM\EZROM.CFG
  141. ECHO ;                                                 >> %1:\REDROM\EZROM.CFG
  142. ECHO ;                                                 >> %1:\REDROM\EZROM.CFG
  143. CD \
  144. ECHO @ECHO OFF                                         >> %1:\REDROM.BAT
  145. ECHO %1:                                               >> %1:\REDROM.BAT
  146. ECHO CD %1:\REDROM                                     >> %1:\REDROM.BAT
  147. ECHO EZROM LOCAL                                       >> %1:\REDROM.BAT
  148. ECHO CD %1:\ROMDROP                                    >> %1:\REDROM.BAT
  149. ECHO CLS                                               >> %1:\REDROM.BAT
  150. ECHO TYPE FILES.BBS | MORE                             >> %1:\REDROM.BAT
  151. ECHO PAUSE                                             >> %1:\REDROM.BAT
  152. ECHO DIR /W                                            >> %1:\REDROM.BAT
  153. ECHO ECHO.                                             >> %1:\REDROM.BAT
  154. ECHO ECHO █████ Here are Your CD-ROM Files             >> %1:\REDROM.BAT
  155. ECHO ECHO █████ Complements of Arsenal Computer        >> %1:\REDROM.BAT
  156. ECHO ECHO █████                                        >> %1:\REDROM.BAT
  157. ECHO ECHO █████ Please Remember to Support Shareware!  >> %1:\REDROM.BAT
  158. ECHO ECHO.                                             >> %1:\REDROM.BAT
  159.  
  160. CLS
  161. ECHO.
  162. ECHO.
  163. ECHO █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█
  164. ECHO █      The Batchfile REDROM is now ready for your useage.          █
  165. ECHO █                                                                  █
  166. ECHO █      When you are ready to begin, log to your %1:\ Drive          █
  167. ECHO █      and type                                                    █
  168. ECHO █                                                                  █
  169. ECHO █      REDROM                                                      █
  170. ECHO █                                                                  █
  171. ECHO █      Please note that you will either need to have the %1:\       █
  172. ECHO █      directory in your PATH, or else you will need to be         █
  173. ECHO █      physically logged into the root directory.                  █
  174. ECHO █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
  175. ECHO.
  176. ECHO ░▒▓█ Your Path Statement is:
  177. ECHO.
  178. PATH
  179. ECHO.
  180.  
  181. :END
  182.